package com.android.tianyuanyouxuan.presenter;

import com.android.tianyuanyouxuan.App;
import com.android.tianyuanyouxuan.base.IPresenter;
import com.android.tianyuanyouxuan.bean.Goods;

import java.util.List;

public class HomePresenter implements IPresenter {

    public List<Goods> getGoodsList() {
        return App.mApp.getDaoSession().getGoodsDao().loadAll();
    }
}
